-- auto detect indentation
return {
    "nmac427/guess-indent.nvim",
    event = "BufRead",
    config = function()
        require("guess-indent").setup {
            -- run command when a new buffer is opened
            auto_cmd = true,
            override_editorconfig = true
        }
    end
}
